﻿using OT.Data;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace OT.Areas.Student.Models
{
    public class AttemptMsts
    {
        public long AttemptID { get; set; }
        public int TestID { get; set; }
        public int UserID { get; set; }
        public bool IsFinish { get; set; }
        public double Score { get; set; }
        public DateTime Date { get; set; }
        public DateTime CreatedDate { get; set; }

        public string TestName { get; set; }
        public ICollection<User> Users { get; set; }
        public ICollection<Test> Tests { get; set; }

    }
    public class BarDataforStudent
    {
        public string TestName { get; set; }
        public int marks { get; set; }
    }
}